package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.ScanIpRangeDao;
import com.bootdo.system.domain.ScanIpRangeDO;
import com.bootdo.system.service.ScanIpRangeService;



@Service
public class ScanIpRangeServiceImpl implements ScanIpRangeService {
	@Autowired
	private ScanIpRangeDao scanIpRangeDao;
	
	@Override
	public ScanIpRangeDO get(Integer id){
		return scanIpRangeDao.get(id);
	}
	
	@Override
	public List<ScanIpRangeDO> list(Map<String, Object> map){
		return scanIpRangeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return scanIpRangeDao.count(map);
	}
	
	@Override
	public int save(ScanIpRangeDO scanIpRange){
		return scanIpRangeDao.save(scanIpRange);
	}
	
	@Override
	public int update(ScanIpRangeDO scanIpRange){
		return scanIpRangeDao.update(scanIpRange);
	}
	
	@Override
	public int remove(Integer id){
		return scanIpRangeDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return scanIpRangeDao.batchRemove(ids);
	}
	
}
